how to create dynamics database